Reactive Programming with Swift 4: Build asynchronous reactive applications with easy-to-maintain and clean code using RxSwift and Xcode 9

Reactive Programming with Swift 4: Build asynchronous reactive applications with easy-to-maintain and clean code using RxSwift and Xcode 9

作者: Navdeep Singh
出版社: Packt Publishing
出版在: 2018-02-26
ISBN-13: 9781787120211
ISBN-10: 178712021X
裝訂格式: Paperback
總頁數: 320 頁





內容描述


Learn how to solve blocking user experience and build event based reactive applications with Swift.Key FeaturesBuild fast and scalable apps with RxSwiftApply reactive programming to solve complex problems and build efficient programs with reactive user interfacesTake expressiveness, scalability, and maintainability of your Swift code to the next level with this practical guideBook DescriptionRxSwift belongs to a large family of Rx implementations in different programming languages that share almost identical syntax and semantics. Reactive approach will help you to write clean, cohesive, resilient, scalable, and maintainable code with highly configurable behavior.This book will introduce you to the world of reactive programming, primarily focusing on mobile platforms. It will tell how you can benefit from using RxSwift in your projects, existing or new. Further on, the book will demonstrate the unbelievable ease of configuring asynchronous behavior and other aspects of the app that are traditionally considered to be hard to implement and maintain. It will explain what Rx is made of, and how to switch to reactive way of thinking to get the most out of it. Also, test production code using RxTest and the red/ green approach. Finally, the book will dive into real-world recipes and show you how to build a real-world app by applying the reactive paradigm.By the end of the book, you'll be able to build a reactive swift application by leveraging all the concepts this book takes you through.What you will learnUnderstand the practical benefits of Rx on a mobile platformExplore the building blocks of Rx, and Rx data flows with marble diagramsLearn how to convert an existing code base into RxSwift code baseLearn how to debug and test your Rx CodeWork with Playgrounds to transform sequences by filtering them using map, flatmap and other operatorsLearn how to combine different operators to work with Events in a more controlled manner.Discover RxCocoa and convert your simple UI elements to Reactive componentsBuild a complete RxSwift app using MVVM as design patternWho This Book Is ForThis book is for the developers who are familiar with Swift and iOS application development and are looking out to reduce the complexity of their apps. Prior experience of reactive programming is not necessary.Table of ContentsA new upgrade is available : Swift 3 to Swift 4FRP fundamentals, terminology and basic building blocksSetup RxSwift and convert a basic Login app to its RxSwift counterpartWhen to become Reactive?Filter, Transform and SimplifyReduce by combining and filtering and common trade offsReact to UI events: start subscribingRxTest and Custom Rx Extensions : Testing with RxTesting your RxCode- testing Asynchronous codeSchedule your tasks, don't Queue!Subscribe to errors and save your appFunctional and Reactive App-architecturePut your knowledge to practice : Finish a real world application




相關書籍

深入理解 Android 內核設計思想, 2/e (上下冊)

作者 林學森

2018-02-26

How to Do Everything: Pages, Keynote & Numbers for OS X and iOS (Paperback)

作者 Dwight Spivey

2018-02-26

Sams Teach Yourself Swift in 24 Hours, 2/e (Paperback)

作者 BJ Miller

2018-02-26